package com.github.bitsapling.sapling.controller.bo;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



@Data      // 自动生成getter和setter方法
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class InvitationRegisterRequestBO {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "邮箱不能为空")
    @Email
    private String email;
    @NotBlank(message = "邀请码不能为空")
    private String invitationCode;
}
